home *** CD-ROM | disk | FTP | other *** search
-
- *TFS* Lucky Thirteen MsgSWAP v1.01 FidoNet Address
- 2400-9600 Baud by (1:273/730)
- (215-948-7734) Chester Swap
-
- LAST UPDATED 03/29/91
-
- MsgSWAP is written in Clipper, S'87 Version
-
- MsgSWAP is a simple program intended to import and export FidoNet
- messages into PCBoard. There's several others that do a good job of it
- already, but there's nothing like the control you have when you roll
- your own. So I spent a long weekend rolling my own...
-
- What it won't do - Let's see...
-
- Won't work for any mail tosser except Qmail by Greg Dawson
- (I don't know how the others address 1.msg)
-
- Won't export any message other than public
-
- Won't export any message unless the "Echo" attribute is true, and after
- the message is exported the echo attribute is set to false.
-
- Won't kill any messages at all
-
- Won't create a new PCBoard MSGS file if one doesn't exist
-
- Won't improve your sex life
-
- Won't pay attention to the "Locked" field of the PCB message file (yet)
-
- What it will do...
-
- Will rebuild .NDX files so you don't have to use PCBpack
- Note - old .NDX file needs to be present so we can
- get the size of it before rebuilding.
-
- Will strip hi bit characters from imported mail
-
- Will save you money, it's free
-
- Will (must!) use file named ORIGIN in your FidoNet message
- directory for origin line.
-
- =============================================================================
-
- Contained in Msgswap.zip should be the following:
-
- MSGSWAP.DOC - This file
- MSGSWAP.EXE - The main program
- MSGSWAP.CFG - The nasty example config file
- BOARD.BAT - Example of how I EXPORT mail FROM PCBoard
- INTOPCB.BAT - Example of how I IMPORT mail INTO PCBoard
- RENUMBER.BAT - Example of how I update LASTMSG.PCB after renumbering
-
- =============================================================================
-
- Should be a simple matter getting started. Modify msgswap.cfg to
- reflect your needs. Format of msgswap.cfg is:
-
- 1:273/730 ; fidonet address ZONE:NET/NODE
- c:\opus\echotoss.log ; path/name of export log file
- CURMUDGEON ; name of fidonet area (used to create echotoss.log)
- c:\msg1\curmudge\ ; path to fidonet area
- c:\pcb\curmudge\msgs ; PCBoard path/msgbase name
- PCBNET ; name of fidonet area (used to create echotoss.log)
- c:\msg1\pcbnet\ ; path to fidonet area
- c:\pcb\pcbnet\msgs ; PCBoard path/msgbase name
-
- There may be no blank lines in swapmsg.cfg, comments are OK as long as
- they're behind a semi-colon (;).
-
- FIRST LINE - Your complete FidoNet address
- SECOND LINE - Complete path + file name of export log file
- THIRD LINE - Name of the FidoNet echo
- FOURTH LINE - Complete path to FidoNet message area
- FIFTH LINE - Complete path + file name of PCBoard msgs file
- and so forth...
-
-
- =============================================================================
- Command line parameters - Entering msgswap by itself gives you this info:
-
- MsgSWAP v1.01
- Copyright 1991 Swap Bros. Software. All rights reserved.
- Written in Clipper S'87 by Chester Swap
-
- Usage: MsgSWAP /g:pathname /i or /e
-
- /g:pathname = full path + file name for msgswap.cfg
- /i = import to PCBoard
- /e = export from PCBoard
-
-
- MsgSWAP /lm:pathname
-
- /lm:pathname = full path + file name of lastmsg.pcb to adjust (option)
-
- use this option after renumbering FidoNet msg areas
-
-
- Exit Errorlevel 0
-
- =============================================================================
-
- Sample usage:
-
- msgswap /i /g:msgswap.cfg - To IMPORT mail TO PCBoard
- msgswap /e /g:msgswap.cfg - To EXPORT mail FROM PCBoard
-
- The switches can be in any order and are not case sensitive
-
- After running Renum or whatever you use to kill off and renuber your
- FidoNet message areas you must run the following to update LASTMSG.PCB:
-
- swapmsg /lm:pathname where pathname is complete path to the FidoNet area
- that was renumbered.
-
- So if I renumbered my FidoNet areas PCBNET, and Curmudgeon, I'd run:
-
- swapmsg /lm:C:\MSGS1\PCBNET\
- swapmsg /lm:C:\MSGS1\CURMUDGEON\
-
- Pretty simple huh?
-
- =============================================================================
-
- ERRORLEVELS:
-
- Exits with an errorlevel of 0 if no mail was processed for any area
- Exits with an errorlevel of 1 if mail was processed for any area
- Exits with an errorlevel of 2 if the sky is falling
- Exits with an errorlevel of 3 if a msgs.ndx error - run PCBpack
-
- The errorlevels really aren't needed for anything but the EXPORT mode
- See example batch files...
-
- =============================================================================
-
- An export log file is created in /e mode. It's up to you to kill it.
-
- =============================================================================
-
- Why am I writing stuff like this in Clipper you ask? Because it's easy and
- I like it! Like at the dragstrip, you run what you brung...
-
- =============================================================================
-
- Changes:
-
- 03/29/91 v1.01
-
- Exported messages are now chr(0) terminated as per FidoNet specs.
- Improved the routines I was using for word wrapping.
-
-